/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const consumerRouter = {
  path: '/consumer',
  component: Layout,
  redirect: '/consumer/index',
  name: 'consumer',
  meta: {
    title: 'consumer',
    icon: 'eye',
    roles:['other','admin','product']
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/consumer/index'),
      name: 'consumerIndex',
      meta: { title: 'consumerIndex', icon: 'eye' }
    }
  ]
}
export default consumerRouter
